.App {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.main-content {
  flex: 1;
  overflow-y: auto;
  /* 为底部Tab留出空间（TabBar高度56px + 安全区）*/
  padding-bottom: calc(56px + env(safe-area-inset-bottom));
}

.footer-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

/* 确保Tabbar组件本身也是固定的 */
.footer-tabbar .rv-tabbar {
  position: relative;
  height: 30px;
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: content-box;
  pointer-events: auto;
}

/* 收紧单项的上下间距与字号 */
.footer-tabbar .rv-tabbar-item {
  padding: 6px 0 8px !important;
}
.footer-tabbar .rv-tabbar-item__icon {
  width: 22px !important;
  height: 12px !important;
  margin-bottom: 3px !important;
}
.footer-tabbar .rv-tabbar-item__text {
  font-size: 12px !important;
}
